<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .father {
            width: 500px;
            height: 150px;
            border: 1px solid black;
            position: relative;
            padding: 5px;
            margin: 10px;
        }

        .first {
            background-color: #998877;
            color: #FFF;
            width: 500px;
            position: absolute;
            top: 50px;
            right: -50px;
        }

        .second {
            background-color: slateblue;
            color: #FFF;
            width: 500px;
        }

        .d1 {
            width: 500px;
            height: 500px;
            margin: 10px;
            color: #555;
            border: 1px solid black;
        }

        .fixed {
            width: 100px;
            height: 100px;
            line-height: 100px;
            border: 3px dashed red;
            background-color: #d9d9d9;
            color:blue;
            font-size:17px;
            font-weight: 700;
            position: fixed;
            text-align: center;
            top:260px;
            z-index:-1;
        }

        .fixed:hover {
            background-color: #998833;
        }
    </style>
</head>
<body>
<div class="father">
    <div class="first">第一个盒子</div>
    <div class="second">第二个盒子</div>
</div>

<div class="fixed">
    fixed
</div>

<div class="d1">this is a book</div>
<div class="d1">this is a book</div>
<div class="d1">this is a book</div>
<div class="d1">this is a book</div>
<div class="d1">this is a book</div>
<div class="d1">this is a book</div>
</body>
</html>